const net = require("net");
const client = net.createConnection({
  port: 1234,
  host: "127.0.0.1",
});
client.on("connect", () => {
  client.write("拉钩教育");
});
client.on("data", (data) => {
  console.log(data.toString());
});
